import axios from '../services/axios'

export const useFileDataService = ({ userid }) => axios.get('/fileData', { userid })

export const useGetFileDataService = ({ userid, filePath }) =>
  axios.post('/getFile', { userid, filePath })

export const useDownloadFileService = ({ filePath }) =>
  axios.get('/downloadFile', { params: { filePath } })
